<?php
// Test of R0910CMS 
// created by zyn
// time : 20100124

class testDbModelStruct extends R_Db_Row{
	function init(){
		$this->tableName   = "people";
        /**
         *@argu 1. check_type 2. length / type+length
         */
        $this->col["id"]   = &R_Db_CellFactory::get(R_Db_DataCheck::INTEGER);
        //$this->col["id"]   = &R_Db_CellFactory::get(R_Db_DataCheck::INTEGER,"int(10)");
        $this->col["id"]   ->setPrimary()
                           ->setNotNull()
                           //->setDefaultValue(0)
                           ->setUnsigned()
                           ->setAutoIncrement();
	}
}
